/**
 * Copyright (C), 2015-2019, XXX有限公司
 * FileName: GoldenWebApplication
 * Author:   zhouheng
 * Date:     2019/6/7 23:41
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.zhouh.golden;

import com.zhouh.golden.security.properties.GoldenSecurityProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.social.autoconfigure.SocialWebAutoConfiguration;

/**
 * 〈一句话功能简述〉<br> 
 * 〈〉
 *
 * @author zhouheng
 * @create 2019/6/7
 * @since 1.0.0
 */
@EnableScheduling
@SpringBootApplication(scanBasePackages = "com.zhouh",exclude = {SocialWebAutoConfiguration.class})
@MapperScan({"com.zhouh.golden.*.dao"})
@EnableConfigurationProperties({GoldenSecurityProperties.class})
@ComponentScans({@ComponentScan(value = "com.zhouh.golden"),
@ComponentScan(value = "com.zhouh.golden.security")})
public class GoldenWebApplication {
    public static void main(String[] args) {
        SpringApplication.run(GoldenWebApplication.class,args);
    }
}